package demo.thread.demo1;

public class Test {

	public static void main(String args[]) {
		OperationManager operationManager = new OperationManager();

		GetThread get1 = new GetThread();
		GetThread get2 = new GetThread();
		get1.setOperationManager(operationManager);
		get2.setOperationManager(operationManager);

		Thread t1 = new Thread(get1);
		Thread tg2 = new Thread(get2);
		t1.start();
		tg2.start();

		PutThread put1 = new PutThread();
		put1.setOperationManager(operationManager);

		Thread t2 = new Thread(put1);
		t2.start();

	}
}
